Use a cheaper way to store settings per display
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 May 2016 04:21:08 +0000 (00:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 May 2016 10:44:28 +0000 (06:44 -0400)
commit360a3c16902ec80a3f0e69aba3b4f743a75efc1e
treeb89c459eab9956b82ea6961c75d9111e41965803
parentcca894b912910fe14650a48d618964a9b1651119
Use a cheaper way to store settings per display

This was another very frequent use of qdata. Since we typically
have only one or two display objects, storing the display-settings
association in a simple array is faster than using object data
or a hash table.
gtk/gtksettings.c